package com.meizhi.toystory.config;

/**
 * Created by meilein on 17/5/6.
 */
public class JSONResult {
    public static String fillResultString(Integer status, String message, Object result) {
        org.json.JSONObject jsonObject = new org.json.JSONObject() {{
            put("status", status);
            put("message", message);
            put("result", result);
        }};

        return jsonObject.toString();
    }
}
